<template>
<div class="box_none">
  <div class="title">热销商品</div>
  <img :src="box_src" class="box_none_img">
  <div class="slot"><slot></slot></div>
</div>
</template>

<script>
import box_bg from '@/assets/bg_box.png'
export default {
  name: "index",
  data(){
    return {
      box_src:box_bg,
    }
  }
}
</script>

<style scoped lang="scss">
.box_none{
  width: 95%;
  height: 90%;
  position: relative;
  transition: all ease-in-out 0.3s;
  &:hover{
    box-shadow: 0px 0px 15px #2134a0;
  }
  .box_none_img{
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -10;
  }
  .title{
    color: #1a95a4;
    width: 100%;
    text-align: center;
    font-size: 20px;
    margin-top: 15px;
    font-weight: bolder;
    position: absolute;
  }
  .slot{
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    height: 85%;
    position: absolute;
    bottom: 10px;
  }
}
</style>
